Fig.zgb

ABSTRACT

A PROCESS IS DISCLOSED FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE WHEREIN THE RECORDS ARE RANDOMLY LOCATED ON A STORAGE DEVICE WHICH COMPRISES A PLURALITY OF AREAS. THE PROCESS IS BASED UPON THE PRINCIPLE THAT THE RECOVERY OF THE RECORDS IN SEQUENCE ORDER IS ISOMORPHIC TO THE DISTRIBUTION OF THE SEQUENCE OF RECORDS INTO THE SPECIFIC LOCATIONS ON THE STORAGE DEVICE. IN THE PROCESS, A DIRECTORY IS EMPLOYED WHICH CONTAINS THE TAG OF THE RECORDS IN SEQUENTIAL ORDER OF KEY VALUE, THE TAG COMPRISING THE RECORDS KEY VALUE, AND ITS ADDRESS IN THE STORAGE DEVICE. UTILIZING THE DIRECTIONARY, A SIMULATION OF THE DISTRIBUTION OF THE TAGS THEREIN IS PERFORMED AND THE RESULT OF THE SIMULATED DISTRIBUTION IS WRITTEN OUT IN THE FORM OF A STRING OF ITEMS WHICH INCLUDES PORTIONS OF THE TAG GROUPED THEREIN ACCORDING TO AREAS AND INFORMATION AS TO WHICH RECORDS AND HOW MANY ARE TO BE WRITTEN OUT AT RESPECTIVE VISITS TO THE STORAGE DEVICE. THE ITEMS IN THE STRING ARE THEN EMPLOYED IN THE REVERSE ORDER OF THEIR WRITING OUT TO DETERMINE THE RECOVERY OR RETRIEVAL OF THE RECORDS IN SEQUENTIAL ORDER TO KEY VALUE. IN ONE ASPECT OF THE INVENTION, THE RECORD RECOVERY MAY BE PERFORMED BY SCANNING THE AREAS OF THE STORAGE DEVICE IN A CYCLIC FASHION. IN ANOTHER ASPECT, THE RECORD RECOVERY MAY BE ACHIEVED BE SELECTIVELY VISITING CHOSEN AREAS OF THE STORAGE DEVICE, THE DETERMINATION OF   THE SELECTION OF THE AREA WHICH MAY BE VISITED AT A PARTICULAR JUNCTURE DEPENDING UPON PREDETERMINED CRITERIA SUCH AS QUANTITY OF RECORDS THAT CAN BE WRITTEN OUT AT A VISIT, ETC. THE PROCESS CAN BE ACCOMPLISHED EITHER BY A SIGNAL OR MULTI-PASS OPERATION. THE PROCESS IS A SUBSTANTIAL IMPROVEMENT OVER OTHER SEQUENTIAL RECORD RECOVERY PROCESSES WHICH EMPLOY A TAG SORT AND UTILIZE THE SORTED TAGS TO PERFORM AN ORDER RECORD RETRIEVAL BY CONVENTIONAL METHODS. IN ANOTHER ASPECT OF THE INVENTION, ORDER SUBSTRINGS OF THE FILE ARE FORMED AND THESE SUBSTRINGS THEN FUNCTION AS THE AREAS IN THE EXECUTION OF THE PROCESS. CONCURRENTLY, WITH THE FORMATION OF THESE STRINGS, CORRESPONDING DIRECTIONS ARE CREATED WHICH CAN SUBSEQUENTLY BE MERGED.

DEFENSIVE PUBLICATION UNITED STATES PATENT AND TRADEMARK OFFICE Published at the request of the applicant or owner in accordance with the Notice of Dec. 16, 1969, 869 O.G. 687. The abstracts of Defensive Publication applications are identified by distinctly numbered series and are arranged chronologically. The heading of each abstract indicates the number of pages of specification, including claims and sheets of drawings contained in the application as originally filed. The files of these applications are available to the public for inspection and reproduction may be purchased for 30 cents a sheet.

Defensive Publication applicationshave not been examined as to the merits of alleged invention. The Patent and Trademark Oiiice makes no assertion as to the novelty of the disclosed subject matter.

PUBLISHED JUNE 3, 1975 T935,005 A process is disclosed for the sequential recovery of the PROCESS FOR THE SEQUENTIAL RECOVERY records of a file wherein the records are randomly located OF THE RECORDS OF A on a storage device which comprises a plurality of areas.

Brian T. Bennett, Wenonah Trail, Mohegan Lake, N.Y. I

10547 and Archie McKcHar, 100 Diplomat Drive The process is based upon the principle that the recovery Apt. 3C, Mount Kisco, N.Y. 10549 Continuation of application Ser. No. 208,547, Dec. 16, 1971. This application June 7, 1974, Ser. No. 477,373.

Int. Cl. G061 7/06 US. Cl. 340172.5 41 Sheets Drawing. 6 Pages Specification of the records in sequence order is isomorphic to the distribution of the sequence of records into the specific locations on the storage device. In the process, a directory is employed which contains the tags of the records in sequential order of key value, the tag comprising the records key value, and its address in the storage device. Utilizing the directory, a simulation of the distribution of the tags therein is performed and the result of the simulated distribution is written out in the form of a string of items which includes portions of the tags grouped therein according to areas and information as to which records and how many are to be written out at respective visits to the storage device. The items in the string are then employed in the reverse order of their writing out to determine the recovery or retrieval of the records in sequential order of key value. In one aspect of the invention, the record recovery may be performed by scanning the areas of the storage device in a cyclic fashion. In another aspect, the record recovery may be achieved by selectively visiting chosen areas of the storage device, the determination of the selection of the area which may be visited at a particular juncture depending upon predetermined criteria such as quantity of records that can be written out at a visit, etc. The process can be accomplished either by a single or multi-pass operation. The process is a substantial improvement over other sequential record recovery processes which employ a tag sort and utilize the sorted tags to perform an ordered record retrieval by conventional methods. In another aspect of the invention, order substrings of the file are formed and these substrings then function as the areas in the execution of the process. Concurrently, with the formation of these strings, corresponding directories are created which can subsequently be merged.

PUT NEH TRACE RECUilD-L June 3, 1975 BENNETT ETAL T935,005

PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet 1 1*0 I-1 9 BTM (1, sJ-0 ADD (I) NEXT DIRECTORY RECORD A/m F l G. 1 12 AREA (I) NEXT DIRECTORY RECORD FIG. 1 A 5 JJ+1 /14 G 1A A FIG. A

1 5 PN (AREA (I))-J /16 FIG. 1A 18 1c BTM (AREA (1)) NO YES 2 I120 PTR (TOP (AREA (I)))- I BTM (AREMI))-I 22 /50 A TOP (AREA(I))--I TOP (AREA AI)) I YES NO ,32 WRO-0 INVENTORS A 34 BRIAN T. BENNETT L s ARCHIE 0. MC KELLAR V ATTORN EY June 3, 1975 B, r, BENNETT EI'AL T935,005

PROCESS FOR THE SEQUENTIAL RECOVERY OF T qriginal Filed De c. 16. 1971 41 Shgets-Sheet 3 HE RECORDS OF A FILE I L G 1 B PUT NEXT mos RECORD= 5 ADD(BTM(L)) o RD-RD +1 J2 V 1--armu I BTM(U=TOP(L)? 55 NO YES mmu mermu) so mum-o ADD (ID-NEXT DIRECTORY RECORD AREA (IF-NEXT DIRECTORY 54 RECORD June 3, 1975 BENNETT EIAL T935,005

PROCESS FOR THE SEQUZNTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet 3 BTM R I) ENT A0 NO YES PTR(TOP(AREA(I)))+I 5m (AREA (10*1 /T2 TOP(AREA(I))*I TOP(AREA (I))-I ,JB

BTM(L)=0? A YES TJ YES IND 36 WRO-PN(L) WRO--0 /88 PUT NEXT TRACE RECORD=WR /9O PUT NEXT TRACE RECORD=RD Fl G. 1C T PUT NEXT TRACE RECCRD=L 94 June 3, 1975 -r BENNETT ETAL T935,005

PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECURDS OF A FILE 41 Sheets-Sheet 4 B11111) 111M121 B11113) ADDRESS 1 ADDRESS AREA AREA PTR F1 G. 4 E 1 1 PTR F|G.4A T0111) B11111) B11112) 131M131 ADDRESS ADDRESS AREA AREA

PTR

FIG. 4F

1 1 P11) TDP(2) B11112) BTM(3) ADDRESS 4 AREA PTR F|G.4G T0115) ADDRESS 1 AREA PTR

F|G.4C

TOP11) 1DP121 BTM12) BTM(3) BTM11) 131M121 BTM13) ADDRESS 4 2 4 2 3 1 AREA PTR FIG. 4H

ADDRESS AREA A ToPm 1 1 1 P11) TDP(2J T11R13) June 3, 1975 B. T. BENNETT ET AL PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 1 2 3 4 5 6 =6 ADDRESS 4 34231 AREA 3 1 2 3 3 2 PTR 3 e 1 1 1 L F|G.4I mm) mm) 101121 1111 111 1111:1131 11111121 1 2 3 4 s 6 =6 ADDRESS 4 3 4 2 31 AREA 3 1 1 3 3 2 PTR 3 3 1 1 1 1 F|G.4J 102111101 131 W12) BT11 (1) BTM13) 1 2 3 4 5 6 G ADDRESS 4 3 4 2 3 AREA 3 1 1 3 3 3 PTR 5 3 1 6 1 1 FIG4K 101 (1) 101 13) 511111) 8TM(2) M13); 1 1

1 2 3 4 5 6 G ADDRESS 4 3 4 3 3 1 AREA 3 1 1 2 3 3 PTR 5 3 6 1 1 1 F |G.4L TOP") 1112121102131 BTM (1) 8111 (2) 1 2 3 4 5 6 G ADDRESS 3 4 3 3 1 AREA 3 1 1 2 3 3 PTR 3 6 1 1 1 G 4M 111E111 102121 101 131 41 Sheets-Sheet 5 w smm 1 2 3 4 5 6 ADDRESS 4 3 AREA 3 1 1 2 3 3 ADDRESS June 3, 1975 Original Filed Dec. 16. 1971 F|G.5A

F|G.5E

F|G.5I

FIGGA F|G.6E

PN 9 s FIG.6I

FIG.5B

FIG.5F

FIG.5J

FIG.6F

FIG.6J

FIG.7B

FIG.5C

FIG. 56

FIG.5K

B. T. BENNETT ET AL PROCESS FOR THE SEQUENTIAL RECOVERY OF THE ancunns OF A FILE FIG. 6C

FIG.GG

FIG.6K

FIG. 5H

FIG.5L

41 Sheets-Sheet 6 FIG.5D

FIG.6L

FIG. 70

June 1975 B. T. BENNETT E PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet 7 FIG.7G

FIG.7F

BTM

TOP

BTM

TOP

BTM

TOP

FIG.8C

FIG.8B

BTM

TOP

BTM

TOP

BTM

TOP

FIG.8F

FIG.8E

FIG.8D

BTM

TOP

BTM

TOP

BTM

TOP

FIG.8H

FIG.8G

BTM

TOP

BTM

TOP

BTM

TOP

FIG.8L

FIG.8J

BTM

TOP

BTM

TOP

BTM

TOP

FIG.8N

FIG.8M

June 3, 1975 B. T. BENNETT E1" AL PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 WRO 0 FIG.9B FIGJOB WRO 5 FIG.9C

WRO 6 WRO 11 F1G.1OC

FIG.1OD

FIG.1OE

FIG.1OF

F1G.1OG

FLG 5 FIG.11B

FLG 1 FIG.11C

FLG 2 FIG.11D

FLG 3 FIG.11E

FLG 1 F1G.11F

FLG 2 41 Sheets-Sheet 8 FIG.12A

FIGJZC FIG.12D

FIG.12E

FIG.12F

F1G.12G

FIG.12J

F1G.12K

FIG.12L E FIG.12M

F1G.12N

June 3, 1975 BENNETT ETAL T935,005

PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE 41 Sheets-Sheet 9 Original Filed Dec. 16. 1971 F|G.14A

FIG.13A F|G.13I

F|G.14D

FIG.13H

June 3, 1975 PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet 1O FIG. 16

FIG. PT(I) I1 I=1 TOG 16A FIG.

Lwuaxr TRACE mom) W102 END 104 G.

or FILE? NO YES STOP RD*NEXT TRACE RECORD i I WR-NEXT TRACE RECORD P-s PP-0 IC-0 00 -0 ADDR---NEXT TRACE RECORD 108 I-F REC (I) RECORD m AREA L A WITH ADDRESS ADDR. Ic1c +1 F-PT(F) YES NO KEY m KEMP)? IYES N0 PP P 11 1 P-PT(P) l iL June 3, 1975 B.T.BENNETT ETAL PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet 11 H6 PP=0.7

120 s-I PT(PP)4I 122 PP I PT(I)P YES 110 YES 110 X PT(SJ {1E5 110 PT(s -F F-s Y s-x WRITE OUT 1120151 1 oc-0c+1 x-P11s1 PT(S) F 128 F 5 S X 0c-0c+1 NO YES oc=w11? PP 0 110 YES FIG. 16B

June 3, 1975 B, T, EN TT ETAL T935,005

PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet 13 FIG.17A F|G.17B 12345s=s 1234se=s REC 1 REG 4 5 PT012345 PT012305 111 FPPS F|G.17C FIG.17D 1234ss=s 1z345s=s REC 245 R615 [5 2 45 PT012605 P101j0555 111 1 111 FSPP P FPPS 12 3 4 5 s=s REC 9 5 5 2 45 PT 012555 F|G.17E

1 4 PP s F6 F5 F6 51 s FIG.18B FIG.18G F|G.l8L FIG.|9B FIG.19G

F 5 FE F 5 s 6 SE] FIG.18C FIG.18H F|G.18'M F|G.19C FIG.19H

F F 1 F E s E s' E FIG. 18D FIG.18I F|G.18N F|G.19D FIG.19I

F F0 F2 SIB S2 FIGJBE FIG.18J FIG.19E F|G.19J

F4 F4 S4 S1 June 3, 1975 PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16, 1971 B. T. BENNETT ETA]- 41 Sheets-Sheet 13 F|G.2OA FIG.21A F|G.21J FIG.22A FIG.23A

FIG.2OB

PPE

PPE]

F|G.21C

PPE,

PPE' LE] Rom F|G.21K FIGZZB F|G.23B PPE LE ROE] PPE' LE RD] FIG. 24A

WREI

June 3, 1975 B. T. BENNETT ET AL PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 FIG. 25A

FIG.25B

FIG. 25C

FIG.25D

FIG.25E

FIG.25F

FIG.25G

FIG.25H

FIG.25J

41 Sheets-Sheet l4 FIGZGB F|G.27A

0c 1 ADDR 3 FIGZGC F|G.27B ocE ADDREY F|G.Z6D F|G.27C ocE ADDR 5 H6265 F|G.27D

0c 1 ADDR 1 FIGZGF F|G.27E

00L ADDR 3 FIGZGG F|G.27F

0c 3 ADDRE FIGZGH H6276 0cm ADDR 2 F|G.26I

June 3, 1975 B. T BENNETT ET AL PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet 15 H6. 28A H6.29A

H6288 F|G.29B

I 6 x 5 F|G.3O

FIG-28C FIG.29C 1 4 H6280 FIG.29D 5 FIG.28E FIG.29E

FIG.28F H6.29F

FIG.28G

H6. 33 B ADD B KEY BADD FIG.34

June 3, 1975 BENNETT ETAL T935,005

PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet 16 FTG.31

GIVEN A SORTED DIRECTORY FOR EACH AREA.

SELECT NEXT SET OF AREAS.

MERGE THEIR DIRECTORIES SIMULTANEOUSLY DOING SIMULATION T0 OBTATN TRACE RECORD STRING.

USE TRACE T0 PERFORM RETRIEVAL. /156 MORE AREAS FOR THIS PASS? A58 N YES MORE PASSES 160 R RTTRRRT END 1E2 June 3, 1975 BENNETT ETAL T935,005

PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet 17 FIG. 32

PIP-4 FIG.

,no FIG. 5 I "m P! k* FIG. J m 5 1.1km /318 32c mR- n-u+1 J FIG. 520 320 u El 1?2 1 YES FIG. 32E i-m R-R ppp 22 ii-i FIG. R-o 32F I p sp 4 174 YES NO 524 STUP 1TE- =1 N0 1 YES I 18 mTn-m j /1?8 1+1] q ,NO ,YES 130 mm-k mm-ki 186 C 1 Jr-JJ- 1*1- 8 KEY [CF-NEXT DIRECTORY RECORD FROM DIRECTORY 1+0 FOR PASS pp.

HADD (DP-NEXT DIRECTORY RECORD FROM ./188

DIRECTORY 1+0 FOR PASS pp.

June 3, 1975 B, T, BENNETT ETAL T935,005

PROCESS FOR THE SEQUENTIAL RECOVERY OF THE RECORDS OF A FILE Original Filed Dec. 16. 1971 41 Sheets-Sheet l8 CS mm YES NO J-0 ,194 FIG 32B BTM 1 BTM(m1n) -0 SELECT c SUCH THAT 196 1585mm AND BKEHC) 1s A MAXIMUM PP P 2 R 198 NO YES 202 n-n+1 I PUT NEXT DIRECTORY REOOROs FOR DIRECTORY 11 AT PASSpp+i AREA(I)-X+C =5 KEHCM,

OREY O) OExF DIRECTORY RECORD FROM DIRECTORYA +0 FOR PASS pp- 204 OAOO(O -RExF DIRECTORY REOORO FROM OFREOFORY 1+0 FOR PASSpp.

J-J+1 PN (AREA(IJ -J /206 /208 BTM(AREA(I))=0? No L YES 210 l FFR(FOR(AREAFIJ )-1 /212 BTM (AREA m -1 TOP(AREA(I))-J TOP(AREA(I))-I O 1 

